package org.javaboy.dynamic_datasource.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.javaboy.dynamic_datasource.model.Book;

import java.util.List;

@Mapper
public interface BookMapper {

    @Select("select * from book")
    List<Book> getAll();
}
